package pattern.decorator;

public class ConcreteDecorator extends AbstractDecrorator{


    public ConcreteDecorator(Conponent conponent) {
        super(conponent);
    }

    @Override
    public void operation() {
        super.operation();
        addedFunction();
    }

    public void addedFunction() {
        System.out.println("为具体构件角色增加额外的功能addedFunction()");
    }
}
